<?php

namespace App\Http\Controllers\Cruise\Web;

use App\Enums\Common\CommonEnum;
use App\Http\Controllers\BaseController;
use App\Models\Cruise\CruiseTemplateModel;
use App\Service\Cruise\Check\CruiseCheckDetailService;
use GuzzleHttp\Exception\GuzzleException;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class CruiseCheckDetailController extends BaseController
{
    /**
     * 稽核报告详情
     * @param Request $request
     * @param $id
     * @return JsonResponse
     */
    public function detail(Request $request, $id): JsonResponse
    {
        return $this->success(CruiseCheckDetailService::detail($id, [], CommonEnum::PLATFORM_MERCHANT));
    }
}
